package com.cmw.auntapp.constant;

/**
 * @desc:
 * @author: chengmingwei
 * @date: 2021/5/4 7:27 AM
 * @contact: phone(微信同号):13922111489 / email: 340360491@qq.com
 */
public enum ErrInfo {
    /**
     * 用户权限过期，请登录
     */
    UN_USER_AUTH(100001, "用户权限过期，请登录！");
    int code;
    String errMsg;

    ErrInfo(int code, String errMsg) {
        this.code = code;
        this.errMsg = errMsg;
    }

    public int getCode() {
        return code;
    }

    public String getErrMsg() {
        return errMsg;
    }
}
